package product

import "fmt"

// Product 产品模型
type Product struct {
	ID    int
	Name  string
	Price float64
}

func (r *Product) String() string {
	return fmt.Sprintf("%d: %s, -  ￥%.2f}", r.ID, r.Name, r.Price)
}
